package com.cleanvegetable.mq;

import com.cleanvegetable.company.entity.Company;
import lombok.Data;
import java.io.Serializable;

/**
 * 公司信息消息实体
 * @author cleanvegetable
 */
@Data
public class CompanyMessage implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 公司信息
     */
    private Company company;
    
    /**
     * 操作类型：create-新增，update-修改，delete-删除
     */
    private String operationType;
    
    /**
     * 消息时间戳
     */
    private Long timestamp;
} 